import request from '@/utils/request'

export function list(params) {
  return request({
    url: '/member/paginQuery',
    method: 'get',
    params: params
  })
}

export function lists(params) {
  return request({
    url: '/member/pageQuery',
    method: 'get',
    params: params
  })
}

export function edit(data) {
  return request({
    url: '/member/edit',
    method: 'post',
    data: data
  })
}

export function getOrder(params) {
  return request({
    url: '/member/order',
    method: 'get',
    params: params
  })
}

export function detail(params) {
  return request({
    url: '/member/queryById',
    method: 'get',
    params: params
  })
}

 